//
//  WeightScalePickerViewController.h
//  IWeighMyself
//
//  Created by Francisco Gindre on 8/12/10.
//  Copyright 2010 __MyCompanyName__. All rights reserved.
//

#import <UIKit/UIKit.h>
#import "LogNewWeightViewController.h"

@interface WeightScalePickerViewController : UIViewController <UIPickerViewDelegate,UIPickerViewDataSource, UITableViewDelegate, UITableViewDataSource>{
	UIPickerView *weightPicker;
	
	NSMutableArray *unitArray;
	
	Weight *weight;
	
	IWeighMyselfAppDelegate *appDelegate;
	
	LogNewWeightViewController *newWeightView;
	
	UITableView *aTableView;
	
	UIBarButtonItem *button;
	UITableViewCell *weightCell;
	
}
@property (nonatomic,retain) IBOutlet UIPickerView *weightPicker;
@property (nonatomic,retain) IWeighMyselfAppDelegate *appDelegate;
@property	(nonatomic,retain) LogNewWeightViewController *newWeightView;
@property (nonatomic,retain) IBOutlet UITableView *aTableView;
@property (nonatomic,retain) UIBarButtonItem *button;
@property (nonatomic,retain) UITableViewCell *weightCell;

-(id)initWithWeightAndParentView: (Weight*)aWeight parentView:(LogNewWeightViewController*)logNewWeightView;


@end
